package com.ruoyi.system.domain;

import java.sql.Timestamp;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 店铺管理对象 tb_store
 * 
 * @author ruoyi
 * @date 2024-09-11
 */
public class TbStore extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 店铺ID */
    @Excel(name = "店铺ID")
    private Long storeId;

    /** 店铺名称 */
    @Excel(name = "店铺名称")
    private String storeName;

    /** 店铺地址 */
    @Excel(name = "店铺地址")
    private String storeAddress;

    /** 商家ID */
    private Long merchantId;

    /** 营业执照 */
    @Excel(name = "营业执照")
    private String licensePhoto;

    /** 店铺介绍 */
    @Excel(name = "店铺介绍")
    private String storeIntro;

    /** 店铺开门时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "店铺开门时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Timestamp openingTime;

    /** 打烊时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "打烊时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Timestamp closingTime;

    public void setStoreId(Long storeId) 
    {
        this.storeId = storeId;
    }

    public Long getStoreId() 
    {
        return storeId;
    }
    public void setStoreName(String storeName) 
    {
        this.storeName = storeName;
    }

    public String getStoreName() 
    {
        return storeName;
    }
    public void setStoreAddress(String storeAddress) 
    {
        this.storeAddress = storeAddress;
    }

    public String getStoreAddress() 
    {
        return storeAddress;
    }
    public void setMerchantId(Long merchantId) 
    {
        this.merchantId = merchantId;
    }

    public Long getMerchantId() 
    {
        return merchantId;
    }
    public void setLicensePhoto(String licensePhoto) 
    {
        this.licensePhoto = licensePhoto;
    }

    public String getLicensePhoto() 
    {
        return licensePhoto;
    }
    public void setStoreIntro(String storeIntro) 
    {
        this.storeIntro = storeIntro;
    }

    public String getStoreIntro() 
    {
        return storeIntro;
    }

    public Timestamp getOpeningTime() {
        return openingTime;
    }

    public void setOpeningTime(Timestamp openingTime) {
        this.openingTime = openingTime;
    }

    public void setClosingTime(Timestamp closingTime) {
        this.closingTime = closingTime;
    }

    public Date getClosingTime()
    {
        return closingTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("storeId", getStoreId())
            .append("storeName", getStoreName())
            .append("storeAddress", getStoreAddress())
            .append("merchantId", getMerchantId())
            .append("licensePhoto", getLicensePhoto())
            .append("storeIntro", getStoreIntro())
            .append("openingTime", getOpeningTime())
            .append("closingTime", getClosingTime())
            .toString();
    }
}
